﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace ORM.Business.Models.Entities 
{
    public class OrmEntities : DbContext
    {
        public DbSet<user> Users { get; set; }
        public DbSet<Question> Questions { get; set; }
        public DbSet<VotedQuestion> VotedQuestions { get; set; }
        public DbSet<ReportedQuestion> ReportedQuestions { get; set; }
        public DbSet<QuestionBookmark> QuestionBookmarks { get; set; }
        public DbSet<Model> Models { get; set; }
        public DbSet<Device> Devices { get; set; }
        public DbSet<Manufacturer> Manufacturers { get; set; } 
        public DbSet<Guide> Guides { get; set; }
        public DbSet<VotedGuide> VotedGuides { get; set; }
        public DbSet<Answer> Answers { get; set; }
        public DbSet<VotedAnswer> VotedAnswers { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<Permission> Permissions { get; set; }
        public DbSet<RolePermission> RolePermissions { get; set; }
        public DbSet<Location> Locations { get; set; }
        public DbSet<UserRole> UserRoles { get; set; }
        public DbSet<GuideComment> GuideComments { get; set; }
        public DbSet<VotedGuideComment> VotedGuideComments { get; set; }
        public DbSet<ReportedGuide> ReportedGuides { get; set; }
        public DbSet<ReportedGuideComment> ReportedGuideComments { get; set; }
        public DbSet<GuideBookmark> GuideBookmarks { get; set; }
        public DbSet<GuideType> GuideTypes { get; set; }
        public DbSet<VisitorNumber> VisitorNumbers { get; set; }
        public DbSet<UserState> UserStates { get; set; }
       
    }
}
